package javaRevise.math;

/**
 * @author WuYongheng
 * @date 2021/12/4
 * @description 演示instanceof运算符
 */
public class TestInstanceof {
    public static void main(String[] args) {
        Integer a = 10;
        boolean result1 = a instanceof Object;
        boolean result2 = a instanceof Integer;
        System.out.println(result1);
        System.out.println(result2);
    }
}
